$(document).ready(function () {
    if ($.cookie('code_email_times')) {
        email_submit = $('#button_email');
        submit_email_title = email_submit.html();
        countdown_lock_button_email();
    }
    if ($.cookie('code_mobile_times')) {
        mobile_submit = $('#button_mobile');
        submit_mobile_title = mobile_submit.html();
        countdown_lock_button_mobile();
    }
});